package com.xxzuibang.day9.继承;

public class Test {
    public static void main(String[] args) {
        PC pc=new PC("Intel","2T","IBM","hw");
        NotePad notePad=new NotePad("Intel","2","2","red");
        System.out.println(pc.getDetails());
        System.out.println(notePad.getDetails());
    }

}
